<template>
	<view class="pages">
		<view class="head flex_op" >
			<view class="head_left ali-c" @click="fhui">
				<image src="http://oos-cn.ctyunapi.cn/hfclass/fanhui.png?Signature=UxKzt/fO7QiCKXVEBjkGnSGdoIw%3D&AWSAccessKeyId=65b300139cc5a0aa9572&Expires=865585101242" style="width: 16rpx;height: 26rpx;margin-right: 20rpx;"  ></image>
				<text>返回</text>
			</view>
			<view style="position: relative;left: -16rpx;">脊柱侧弯报告</view>
			<view class="head_right" ></view>
		</view>
		<view style="height: 100rpx;"></view>
		<view class="allbox">
			<view class="nameBoxAll">
				<view class="jizhu flex_op"><view>姓名</view><view>{{items.name}}</view></view>
				<view class="jizhu flex_op"><view>性别</view><view>{{items.sex}}</view></view>
				<view class="jizhu flex_op"><view>出生日期</view><view>{{items.birthDay}}</view></view>
				<view class="jizhu flex_op"><view>学校（或单位）</view><view>{{items.school}}</view></view>
				<view class="jizhu flex_op"><view>班级</view><view>{{items.className}}</view></view>
				<view class="jizhu flex_op"><view>班主任</view><view>{{items.teacherName}}</view></view>
				<view class="jizhu flex_op"><view>身高</view><view>{{items.height}}</view></view>
				<view class="jizhu flex_op"><view>体重</view><view>{{items.weight}}</view></view>
				<view class="jizhu flex_op"><view>是否侧弯</view><view>{{items.isScoliosis}}</view></view>
				<view class="jizhu flex_op"><view>侧弯部位</view><view>{{items.position}}</view></view>
				<view class="jizhu flex_op"><view>侧弯方向</view><view>{{items.direction}}</view></view>
				<view class="jizhu flex_op"><view>侧弯度</view><view>{{items.cwd}}</view></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			    items:{}
			}
		},
		onLoad(opt) {
			if(opt.date){
				this.items=JSON.parse(opt.date);
				console.log(this.items)
			}	
		},
		methods:{
			fhui(){
				uni.redirectTo({
					url:'/pages/jiZhuCeWan/home'
				})
			}
		}
	}
</script>

<style>
	page{background-color: #DDDDDD;}
	.pages{
		width: 100%;	
	}
	.head{
		height: 100rpx;
		width: 100%;
		background-color: #FFFFFF;
		padding: 0 30rpx;
		box-sizing: border-box;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 30rpx;
		position: fixed;
		z-index: 10;
		box-shadow: 1rpx 1rpx 10rpx 2rpx #DDDDDD;
	}
	.allbox{
		padding:30rpx;
	}
	.nameBoxAll{
		width: 100%;
		background-color: #FFF;
		padding: 30rpx 30rpx 60rpx;
		border-radius: 6rpx;
	}
	.jizhu{
		height: 90rpx;
		padding:20rpx 20rpx;
		border-bottom: 1rpx solid #DDDDDD;
	}
</style>
